﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Business;
namespace QLHS
{
    public partial class frm_Inancs : Form
    {
        public frm_Inancs()
        {
            InitializeComponent();
        }
        HocSinh_BUL hs = new HocSinh_BUL();
        private void frm_Inancs_Load(object sender, EventArgs e)
        {
            lo_lop.Properties.DataSource = hs.Laylop();
            lo_lop.Properties.DisplayMember = "TENLOP";
            lo_lop.Properties.ValueMember = "TENLOP";
            btnxem.Enabled = false;

        }

        private void btnxem_Click(object sender, EventArgs e)
        {
            frm_Report f = new frm_Report(1,lo_lop.Text,"","");
            f.Show();
        }

        private void btndong_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void lo_lop_EditValueChanged(object sender, EventArgs e)
        {
            btnxem.Enabled = true;
        }
    }
}
